package com.huabo.audit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hbfk.util.JsonBean;
import com.huabo.audit.oracle.entity.TblNbsjBorrowRecordEntity;

public interface TblNbsjBorrowRecordService extends IService<TblNbsjBorrowRecordEntity>{
//	public PageBean findBorrowCountByprojectid(String projectid,Integer pageNumber, int pageSize);
	
	//申请借阅
	JsonBean tjspBorrow(TblNbsjBorrowRecordEntity br, String token,String borrowDate,String backDate)throws Exception;
	
	//借阅日志-借阅次数列表
	JsonBean jyrzCountPageList(String token, Integer pageNumber, Integer pageSize,Integer projectid) throws Exception;

	JsonBean submitRecordApproval(String token, Integer borrowid) throws Exception ;

	JsonBean getRecordApprovalInfo(String token, Integer borrowid, String taskId, Integer cyId) throws Exception ;

	JsonBean dealRecordApporvalInfo(String token, Integer cyId, String taskId, String transition, String optDesc,
			String borrowid) throws Exception ;
	
}
